package com.itheima.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.Setmeal;
import com.itheima.common.PageParam;
import com.itheima.dto.DishDto;
import com.itheima.dto.SetmealDto;

import java.util.List;

public interface SetmealService {


    /**
     * 根据分类id查询套餐数据
     * @param categoryId
     * @return
     */
    List<Setmeal> findByCategoryId(long categoryId);


    int add(SetmealDto setmealDto);


    IPage<SetmealDto> findPage(PageParam pageParam);


    int delete(List<Long> ids);

    boolean updateStatus(int status,Long[] ids);

    List<Setmeal> findList(Long categoryId,int status);
}
